Prepare Sandbox Task
Prepares a sandbox environment with the installed plugin and its dependencies. The sandbox directory is required by tasks that run IDE and tests in isolation from other instances, like when multiple IntelliJ Platforms are used for testing with RunIdeTask, TestIdeTask, TestIdeUiTask, or TestIdePerformanceTask tasks.
To fully use the sandbox capabilities in a task, make it extend the SandboxAware interface.
See also
Properties
Default sandbox destination directory to where the plugin files will be copied into.
Holds the Configurations.INTELLIJ_PLATFORM configuration with the IntelliJ Platform dependency added. It should not be directly accessed.
Provides access to the IntelliJ Platform dependency artifact path.
List of dependencies on external plugins resolved from the Configurations.INTELLIJ_PLATFORM_PLUGINS_EXTRACTED configuration.
Provides information about the IntelliJ Platform product. The information is retrieved from the product-info.json file in the IntelliJ Platform directory.
Dependencies defined with the JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME configuration.
A configuration directory located within the sandboxContainerDirectory.
The container for all sandbox-related directories. The directory name depends on the platform type and version currently used for running a task.
A log directory located within the sandboxContainerDirectory.
A plugins directory located within the sandboxContainerDirectory.
Represents the suffix used i.e., for test-related tasks.
A system directory located within the sandboxContainerDirectory.
Functions
Validates that the resolved IntelliJ Platform is supported by checking against the minimal supported IntelliJ Platform version.